package org.swinglife.log.sys.appender;

import org.swinglife.log.sys.SLFile;

import java.io.File;

public class SLConsoleAndFileLogAppender extends SLConsoleLogAppender implements SLFile {

    private SLFileAppender fileAppender = new SLFileAppender();

    @Override
    public void writerFile(String message, File file) {
        super.writeConsole(message);
        fileAppender.writerFile(message,file);
    }
}
